package com.caiya.cart.entity;

import java.util.Date;

public class CartOrder {
    private Long id;

    private Long userId;

    private Long cartInfoId;

    private Long cartServiceParentType;

    private Long cartServiceType;

    private String cartServiceParentTypeName;

    private String cartServiceTypeName;

    private Long orderPrice;

    private String orderRemark;

    private String isPay;

    private Date updateTime=new Date();

    private Date createTime=new Date();

    @Override
    public String toString() {
        return "CartOrder{" +
                "id=" + id +
                ", userId=" + userId +
                ", cartInfoId=" + cartInfoId +
                ", cartServiceParentType=" + cartServiceParentType +
                ", cartServiceType=" + cartServiceType +
                ", cartServiceParentTypeName='" + cartServiceParentTypeName + '\'' +
                ", cartServiceTypeName='" + cartServiceTypeName + '\'' +
                ", orderPrice=" + orderPrice +
                ", orderRemark='" + orderRemark + '\'' +
                ", isPay='" + isPay + '\'' +
                ", updateTime=" + updateTime +
                ", createTime=" + createTime +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getCartInfoId() {
        return cartInfoId;
    }

    public void setCartInfoId(Long cartInfoId) {
        this.cartInfoId = cartInfoId;
    }

    public Long getCartServiceParentType() {
        return cartServiceParentType;
    }

    public void setCartServiceParentType(Long cartServiceParentType) {
        this.cartServiceParentType = cartServiceParentType;
    }

    public Long getCartServiceType() {
        return cartServiceType;
    }

    public void setCartServiceType(Long cartServiceType) {
        this.cartServiceType = cartServiceType;
    }

    public String getCartServiceParentTypeName() {
        return cartServiceParentTypeName;
    }

    public void setCartServiceParentTypeName(String cartServiceParentTypeName) {
        this.cartServiceParentTypeName = cartServiceParentTypeName;
    }

    public String getCartServiceTypeName() {
        return cartServiceTypeName;
    }

    public void setCartServiceTypeName(String cartServiceTypeName) {
        this.cartServiceTypeName = cartServiceTypeName;
    }

    public Long getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(Long orderPrice) {
        this.orderPrice = orderPrice;
    }

    public String getOrderRemark() {
        return orderRemark;
    }

    public void setOrderRemark(String orderRemark) {
        this.orderRemark = orderRemark;
    }

    public String getIsPay() {
        return isPay;
    }

    public void setIsPay(String isPay) {
        this.isPay = isPay;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}